package com.lagou.edu.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stevejson
 */
@RestController
@RequestMapping("/resume")
public class ResumeController {
    @Value("${server.port}")
    private Integer port;

    @GetMapping("/openstate/{userId}")
    public Integer getDefaultResumeStatus(@PathVariable Long userId){
        return port;
    }
}
